<!doctype html>
<html>
<head>
<meta charset = "UTF-8" />
<link rel = "stylesheet" href = "../templates/css/new.css" />
<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js?up"></script>
<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.all.min.js"> </script>
<title>修改{$article['title']}</title>
</head>
<body>
{literal}
<script>
	function goback() {
		window.location.href = "./list.php";
	}
</script>
{/literal}
<div id = "publish">
<center>
	<form name = "edit" method = "post" action = "">
	<table>
		<tr><td><input type = "text" name = "title" value = "{$article['title']}"/><td></tr>
		<tr>
			<td><textarea name = "content"  id = "editor">{$article['content']}</textarea></td>
		</tr>
		<tr>
			<td>关键词:</td>
		</tr>
		<tr>
			<td><input type = "text" name = "keywords" style = "width:320px;" value = {$article['keywords']} /></td>
		</tr>
		<tr>
			<td>描述:</td>
		</tr>
		<tr>
			<td><textarea name = "description" rows = "3" cols = "80">{$article['description']}</textarea></td>
		</tr>
		<tr>
			<td>
				<input type = "submit" name = "sub" value = "发 表" class = "btn" />  
				<input type = "submit" name = "back" value = "返 回" class = "btn" onclick = "goback();" />
			</td>
		</tr>
	</table>
	</form>
</center>
</div>
<script type="text/javascript">
UE.getEditor('editor');//实例化编辑器
</script>
</body>
</html>